package cn.tedu.tourism.passenger.mapper;

import cn.tedu.tourism.passenger.pojo.entity.Passenger;
import cn.tedu.tourism.passenger.pojo.vo.PassengerVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PassengerMapper {
    List<PassengerVO> selectByUserId(Long userId);

    void insert(Passenger passenger);

    void update(Passenger passenger);

    List<PassengerVO> selectById(Long id);

    void delete(Long id);
}
